package net.xdclass.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "用户注册对象",description = "用户注册请求对象")
public class UserRegisterRequest {

    @ApiModelProperty(value = "昵称",example = "Anna小姐姐")
    private String name;

    @ApiModelProperty(value = "密码",example = "1234")
    private String pwd;

    @ApiModelProperty(value = "头像",example = "https://xdclass-1024shop-zzsong-img.oss-cn-shanghai.aliyuncs.com/user/2021/07/05/363d344b5e44408097d3474f6fdb2839.jpg")
    @JsonProperty("head_img")
    private String headImg;

    @ApiModelProperty(value = "用户签名",example = "我的追求是星辰大海")
    private String slogan;

    @ApiModelProperty(value = "0-女，1-男",example = "0")
    private Integer sex;

    @ApiModelProperty(value = "邮箱",example = "123@qq.com")
    private String mail;

    @ApiModelProperty(value = "验证码",example = "123456")
    private String code;



}
